<!-- comments -->
<div class="comments">
<?php if($comments_rows) : ?>
<ol>
	<?php foreach($comments_rows as $row) : ?>
<li id="comment-id-<?=$row->comment_id?>">
<div>@<?=anchor($row->comment_author_url, $row->comment_author);?>|于<?=$row->comment_date?><br /><?=$row->comment_content?></div>

</li>
	<?php endforeach;?>
</ol>
<?php endif; ?>
</div><!-- end comments -->
<!-- comment_form -->
<div class="comment_form">
<?=form_open('new/comment', $attributes);?>
<?=form_hidden('comment_post_id', $post_row->pid);?>
<div class="comment_left">
<p><label>昵称</label></p><input type="text" name="comment_author" />
<p><label>E-Mail</label></p><input type="text" name="comment_author_email" />
<p><label>网站</label></p><input type="text" name="comment_author_url" />
</div>
<div class="comment_right">
<p><label>评论</label></p>
<script type="text/javascript" src="<?=base_url();?>static/js/xheditor-1.1.6-zh-cn.min.js"></script>
<textarea name="comment_content" class="xheditor-mini {skin:'default'}" rows="6" cols="60"></textarea><br />
<input type="submit" name="submit" value="提交评论" />
</div>
</form>
</div><!-- end comment_form -->